How to Install hostname software package in Ubuntu 14.04 LTS (Trusty Tahr)

How to Install hostname software package in Ubuntu 14.04 LTS (Trusty Tahr)

hostname software package provides utility to set/show the host name or domain name, you can install in your Ubuntu 14.04 LTS (Trusty Tahr) by running the commands given below on the terminal,

$ sudo apt-get update
$ sudo apt-get install hostname 

hostname is installed in your system.

Make ensure the hostname package were installed using the commands given below,

$ sudo dpkg-query -l | grep hostname *

You will get with hostname package name, version, architecture and description in a table

hostname package basic information:

Distro Ubuntu 14 04 lts trusty tahr
Section Administration Utilities
Package hostname
Version 3.15ubuntu1
Description utility to set/show the host name or domain name
Sub Section Admin


See Also, How to uninstall or remove hostname software package from Ubuntu 14.04 LTS (Trusty Tahr)?